a = input("请输入一串字符数字并用逗号分隔开:")
a = a.strip('[')
a = a.strip(']')
list = a.split(',')#用逗号分开数字
list = [int(list[i]) for i in range(len(list))]
list.sort(reverse=True)
print(list)
